package com.example.mqltest.service;

import com.example.mqltest.Dto.DeleteStudentsDTO;
import com.example.mqltest.entity.*;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface TeacherService {

    Result register(Teacher teacher);

    Result deleteStudent(String code, String studentId);

    Result deleteCourse(String code);

    Result addWork(Work work);

    Result deleteCheckedStudent(DeleteStudentsDTO deleteStudentsDTO);

    Result correctWork(int workId, String studentId,int grade);

    Result joinCourse(String code, String teacherId);
}
